package cn.kgc.cloud.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author 课工场
 * @date 2024/1/5
 * @description
 */
@FeignClient(value = "HYSTRIXSERVICE",fallback = HystrixClientImpl.class)
public interface HystrixClient {

    @GetMapping("hystrix")
    String method1(@RequestParam("id") Integer id);


}
